package com.zwj.rms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author zwj
 * @since 2021-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_menu")
@ApiModel(value="UserMenuEntity对象", description="VIEW")
public class UserMenuEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableField("userId")
    private String userId;

    @ApiModelProperty(value = "主键")
    @TableField("menuId")
    private String menuId;

    @ApiModelProperty(value = "菜单或按钮名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "程序路径")
    @TableField("path")
    private String path;

    @ApiModelProperty(value = "图标路径")
    @TableField("icon")
    private String icon;

    @ApiModelProperty(value = "上级菜单Id，自引用")
    @TableField("parentId")
    private String parentId;


}
